package com.tdkj.model.information;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.tdkj.model.base.BaseEntity;

/**
 * XnkySpaceModule entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "xnky_diy_module", catalog = "west")
public class BeanDiyModule extends BaseEntity implements java.io.Serializable {

	// Fields

	private String moudlename;
	private String state;
	private Timestamp createtime;

	// Constructors

	/** default constructor */
	public BeanDiyModule() {
	}

	/** minimal constructor */
	public BeanDiyModule(Timestamp createtime) {
		this.createtime = createtime;
	}

	/** full constructor */
	public BeanDiyModule(String moudlename, String state, Timestamp createtime) {
		this.moudlename = moudlename;
		this.state = state;
		this.createtime = createtime;
	}

	@Column(name = "moudlename", length = 40)
	public String getMoudlename() {
		return this.moudlename;
	}

	public void setMoudlename(String moudlename) {
		this.moudlename = moudlename;
	}

	@Column(name = "state", length = 40)
	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Column(name = "createtime", nullable = false, length = 19)
	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

}